package myky.com.doctorapp.contract

import io.reactivex.Observable
import myky.com.doctorapp.entity.RemoteListEntity
import myky.com.doctorapp.base.BaseEntity
import myky.com.doctorapp.base.BaseView

/**
 * Description:
 *
 * @author wuyangwuyang
 * Created by 2019/1/9 on 10:00
 */
interface RemoteDoctorListContract {
    interface Model{

        fun getRemoteDoctorList():Observable<BaseEntity<RemoteListEntity.PayLoadBean>>
    }

    interface View:BaseView<RemoteListEntity.PayLoadBean>{

        fun showRemoteDoctorList(doctorListEntity: RemoteListEntity.PayLoadBean)
    }

    interface Presenter{

        fun findRemoteDoctorList()
    }
}
